<?php

/* @var $this \yii\web\View */
/* @var $content string */

use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\web\view;
use yii\helpers\Url;

AppAsset::register($this);
$this->registerJs('jQuery(document).ready(function() { App.init();Inbox.init();});',View::POS_END);

?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
    
</head>
<body class="page-header-fixed">
<?php $this->beginBody() ?>
<!-- BEGIN HEADER -->

    <div class="header navbar navbar-inverse navbar-fixed-top">

        <!-- BEGIN TOP NAVIGATION BAR -->

        <div class="navbar-inner">

            <div class="container-fluid">

                <!-- BEGIN LOGO -->

                <a class="brand" href="index.html">

                

                </a>

                <!-- END LOGO -->

                <!-- BEGIN RESPONSIVE MENU TOGGLER -->

                <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">

                <img src="image/menu-toggler.png" alt="" />

                </a>          

                <!-- END RESPONSIVE MENU TOGGLER -->            

                <!-- BEGIN TOP NAVIGATION MENU -->              

                <ul class="nav pull-right">

                    <!-- BEGIN NOTIFICATION DROPDOWN -->   

                    <!-- <li class="dropdown" id="header_notification_bar">
                    
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    
                        <i class="icon-warning-sign"></i>
                    
                        <span class="badge">6</span>
                    
                        </a>
                    
                        <ul class="dropdown-menu extended notification">
                    
                            <li>
                    
                                <p>You have 14 new notifications</p>
                    
                            </li>
                    
                            <li>
                    
                                <a href="#">
                    
                                <span class="label label-success"><i class="icon-plus"></i></span>
                    
                                新注册用户
                    
                                <span class="time">Just now</span>
                    
                                </a>
                    
                            </li>
                    
                    
                            <li class="external">
                    
                                <a href="#">See all notifications <i class="m-icon-swapright"></i></a>
                    
                            </li>
                    
                        </ul>
                    
                    </li> -->

                    <!-- END NOTIFICATION DROPDOWN -->

                    <!-- BEGIN INBOX DROPDOWN -->

                    <!-- <li class="dropdown" id="header_inbox_bar">
                    
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    
                        <i class="icon-envelope"></i>
                    
                        <span class="badge">5</span>
                    
                        </a>
                    
                        <ul class="dropdown-menu extended inbox">
                    
                            <li>
                    
                                <p>You have 12 new messages</p>
                    
                            </li>
                    
                            <li>
                    
                                <a href="inbox.html?a=view">
                    
                                <span class="photo"><img src="image/avatar2.jpg" alt="" /></span>
                    
                                <span class="subject">
                    
                                <span class="from">Lisa Wong</span>
                    
                                <span class="time">Just Now</span>
                    
                                </span>
                    
                                <span class="message">
                    
                                Vivamus sed auctor nibh congue nibh. auctor nibh
                    
                                auctor nibh...
                    
                                </span>  
                    
                                </a>
                    
                            </li>
                    
                           
                            <li class="external">
                    
                                <a href="inbox.html">See all messages <i class="m-icon-swapright"></i></a>
                    
                            </li>
                    
                        </ul>
                    
                    </li> -->

                    <!-- END INBOX DROPDOWN -->

                    <!-- BEGIN TODO DROPDOWN -->

                    <!-- <li class="dropdown" id="header_task_bar">
                    
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    
                        <i class="icon-tasks"></i>
                    
                        <span class="badge">5</span>
                    
                        </a>
                    
                        <ul class="dropdown-menu extended tasks">
                    
                            <li>
                    
                                <p>You have 12 pending tasks</p>
                    
                            </li>
                    
                            <li>
                    
                                <a href="#">
                    
                                <span class="task">
                    
                                <span class="desc">New release v1.2</span>
                    
                                <span class="percent">30%</span>
                    
                                </span>
                    
                                <span class="progress progress-success ">
                    
                                <span style="width: 30%;" class="bar"></span>
                    
                                </span>
                    
                                </a>
                    
                            </li>
                    
                            
                            <li class="external">
                    
                                <a href="#">See all tasks <i class="m-icon-swapright"></i></a>
                    
                            </li>
                    
                        </ul>
                    
                    </li> -->

                    <!-- END TODO DROPDOWN -->

                    <!-- BEGIN USER LOGIN DROPDOWN -->

                    <li class="dropdown user">

                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">

                        <img alt="" src="image/2.jpg" width="29" hiegt="29" />

                        <span class="username" user_id="<?=Yii::$app->user->identity->id?>"><?=Yii::$app->user->identity->username?></span>

                        <i class="icon-angle-down"></i>

                        </a>

                        <ul class="dropdown-menu">

                            <li><a href=""><i class="icon-user"></i> 个人中心</a></li>

                            <li><a href=""><i class="icon-calendar"></i> My Calendar</a></li>

                            <li><a href=""><i class="icon-envelope"></i></a></li>

                            <li><a href="#"><i class="icon-tasks"></i> My Tasks</a></li>

                            <li class="divider"></li>

                            <li><a href="<?=Url::to(['site/logout']) ?>"><i class="icon-key"></i>退出</a></li>

                        </ul>

                    </li>

                    <!-- END USER LOGIN DROPDOWN -->

                </ul>

                <!-- END TOP NAVIGATION MENU --> 

            </div>

        </div>

        <!-- END TOP NAVIGATION BAR -->

    </div>

    <!-- END HEADER -->

    <!-- BEGIN CONTAINER -->



    <div class="page-container row-fluid">

        <!-- BEGIN SIDEBAR -->

        <div class="page-sidebar nav-collapse">

            <!-- BEGIN SIDEBAR MENU -->        

            <ul class="page-sidebar-menu">

                <li>

                    <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

                    <div class="sidebar-toggler hidden-phone"></div>

                    <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

                </li>

                <li>

                    <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->

                   <!--  <form class="sidebar-search">

                        <div class="input-box">

                            <a href="javascript:;" class="remove"></a>

                            <input type="text" placeholder="搜索..." />

                            <input type="button" class="submit" value=" " />

                        </div>

                    </form> -->

                    <!-- END RESPONSIVE QUICK SEARCH FORM -->

                </li>

                <li class="start ">

                    <a href="index.html">

                    <i class="icon-home"></i> 

                    <span class="title">首页</span>
                    <span class="selected"></span>
                    </a>

                </li>

                <li class="">

                    <a href="javascript:;">

                    <i class="icon-cogs"></i> 

                    <span class="title">用户管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li >

                            <a href="index.php?r=admin">管理员</a>

                        </li>

                        <li >

                            <a href="<?=Url::to(['shop/index']) ?>">卖家</a>

                        </li>

                        <li >

                            <a href="index.php?r=custom">买家</a>

                        </li>                     

                    </ul>

                </li>

                <li class="">

                    <a href="javascript:;">

                    <i class="icon-bookmark-empty"></i> 

                    <span class="title">轮播管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li >

                            <a href="index.php?r=lunbo">查看轮播</a>

                        </li>
                   

                    </ul>

                </li>


                <li class="">

                    <a href="javascript:;">

                    <i class="icon-table"></i> 

                    <span class="title">分类管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li >

                            <a href="index.php?r=scgoodsfen">查看</a>

                        </li>

                       

                    </ul>

                </li>

                <li class="">

                    <a href="javascript:;">

                    <i class="icon-briefcase"></i> 

                    <span class="title">产品管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li >

                            <a href="index.php?r=goods">查看</a>

                        </li>

                       
                    </ul>

                </li>

                <li class="">

                    <a href="javascript:;">

                    <i class="icon-gift"></i> 

                    <span class="title">属性管理</span>
                    <span class="arrow"></span>

                    </a>

                    <ul class="sub-menu">

                        <li >

                            <a href="index.php?r=scattr">属性分类</a>

                        </li>

                        <li >

                            <a href="index.php?r=scattrvalue">属性值</a>

                        </li>
						 <li >

                            <a href="index.php?r=goodsattr">商品-属性</a>

                        </li>
                       
                    </ul>

                </li>

                <li class="">

                    <a  href="javascript:;">

                    <i class="icon-sitemap"></i> 

                    <span class="title">审核管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li>

                            <a href="index.php?r=scaudit">店铺申请 </a>


                        </li>

                    </ul>

                </li>

                <li>

                    <a href="javascript:;">

                    <i class="icon-folder-open"></i> 

                    <span class="title">订单管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li>

                            <a href="index.php?r=orders">查看 </a>

                        
                        </li>


                    </ul>

                </li>

                <li class="">

                    <a href="javascript:;">

                    <i class="icon-user"></i> 

                    <span class="title">统计</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li >

                            <!-- <a href="index.php?r=sctotal"> 商品分析</a> -->
							<a href="<?=Url::to(['sctotal/index']) ?>"> 商品分析</a>
                        </li>

                        <li >

                            <a href="">订单分析</a>

                        </li>

                    </ul>

                </li>


            </ul>

            <!-- END SIDEBAR MENU -->

        </div>

        <!-- END SIDEBAR -->

        <!-- BEGIN PAGE -->

        <div class="page-content">

            <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->

            <div id="portlet-config" class="modal hide">

                <div class="modal-header">

                    <button data-dismiss="modal" class="close" type="button"></button>

                    <h3>Widget Settings</h3>

                </div>

                <div class="modal-body">

                    Widget Settings form goes here

                </div>

            </div>

            <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

            <!-- BEGIN PAGE CONTAINER-->

            <div class="container-fluid">

                <!-- BEGIN PAGE HEADER-->

                <div class="row-fluid">

                    <div class="span12">

                        <!-- BEGIN STYLE CUSTOMIZER -->

                        <div class="color-panel hidden-phone">

                            

                            <div class="color-mode">

                                <p>THEME COLOR</p>

                                <ul class="inline">

                                    <li class="color-black current color-default" data-style="default"></li>

                                    <li class="color-blue" data-style="blue"></li>

                                    <li class="color-brown" data-style="brown"></li>

                                    <li class="color-purple" data-style="purple"></li>

                                    <li class="color-grey" data-style="grey"></li>

                                    <li class="color-white color-light" data-style="light"></li>

                                </ul>

                                <label>

                                    <span>Layout</span>

                                    <select class="layout-option m-wrap small">

                                        <option value="fluid" selected>Fluid</option>

                                        <option value="boxed">Boxed</option>

                                    </select>

                                </label>

                                <label>

                                    <span>Header</span>

                                    <select class="header-option m-wrap small">

                                        <option value="fixed" selected>Fixed</option>

                                        <option value="default">Default</option>

                                    </select>

                                </label>

                                <label>

                                    <span>Sidebar</span>

                                    <select class="sidebar-option m-wrap small">

                                        <option value="fixed">Fixed</option>

                                        <option value="default" selected>Default</option>

                                    </select>

                                </label>

                                <label>

                                    <span>Footer</span>

                                    <select class="footer-option m-wrap small">

                                        <option value="fixed">Fixed</option>

                                        <option value="default" selected>Default</option>

                                    </select>

                                </label>

                            </div>

                        </div>

                        <!-- END BEGIN STYLE CUSTOMIZER -->    

                        <!-- BEGIN PAGE TITLE & BREADCRUMB-->

                        <h3 class="page-title">

                          
                        </h3>


                        <!-- END PAGE TITLE & BREADCRUMB-->

                    </div>

                </div>

                <div class="row-fluid inbox">

                <?=$content?>
                </div>

            </div>

            <!-- END PAGE CONTAINER-->    

        </div>

        <!-- END PAGE -->

    </div>

    




    <!-- END CONTAINER -->

    <!-- BEGIN FOOTER -->

    <div class="footer">

        <div class="footer-inner">

            2013 &copy; Metronic by keenthemes.

        </div>

        <div class="footer-tools">

            <span class="go-top">

            <i class="icon-angle-up"></i>

            </span>

        </div>

    </div>

    <!-- END FOOTER -->


<?php $this->endBody() ?>

</body>
</html>
<?php $this->endPage() ?>
